package com.czk.model.observe.spring;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/11/1 22:11
 */
public class Client {
    public static void main(String[] args) {
        EventListener eventListener = new EventListener();
        // 注册
        EventBusCenter.register(eventListener);
        EventBusCenter.post(new NotifyEvent("157", "123", "czk"));
    }
}
